package com.lw.service;

import com.lw.dao.GoodsDao;
import com.lw.pojo.Goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author LW
 * @2021/9/3 12:39
 */
@Service
public class GoodsServiceImpl implements GoodsService{
    @Autowired
    GoodsDao goodsDao;


    @Override
    public List<Goods> findAllByGoodsIdBetween(Long goodsId1, Long goodsId2) {
        return null;
    }

    @Override
    public List<Goods> findAllByGoodsIdIn(List<Long> goodsIds) {

        return goodsDao.selectBatchIds(goodsIds);
    }
}
